import { CoolController, BaseController } from '@cool-midway/core';
import { DeviceDeviceEntity } from '../../entity/device';
import { DeviceDeviceService } from '../../service/device';
import { Inject } from '@midwayjs/core';

/**
 * 设备信息
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: DeviceDeviceEntity,
  service: DeviceDeviceService,
})
export class AppDeviceDeviceController extends BaseController {
  @Inject()
  deviceDeviceService: DeviceDeviceService;
}